package com.pb.wkflow.api.annotation.impl;

import com.pb.wkflow.api.annotation.WfTaskAnnotation;
import com.pb.wkflow.api.annotation.WfTaskAnnotationService;
import com.pb.wkflow.api.controller.request.ProcessTaskRequest;
import com.pb.wkflow.api.entity.WfSysProcInfoEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 测试请假申请实现类
 * @author 苗益辉
 * @date 2022/10/18 10:50
 */
@Slf4j
@Service
@WfTaskAnnotation(name = "TEST_APPLY_LEAVE")
public class ApplyLeaveServiceImpl extends WfTaskServiceImpl {

    @Override
    public void completeTask(WfSysProcInfoEntity entity) {
        log.info("触发测试请假申请completeTask");
    }

    @Override
    public void terminateTask(WfSysProcInfoEntity entity) {
        log.info("触发测试请假申请terminateTask");
    }

    @Override
    public void refuseTask(WfSysProcInfoEntity entity) {
        log.info("触发测试请假申请refuseTask");
    }

    @Override
    public void submitTask(WfSysProcInfoEntity entity) {
        log.info("触发测试请假申请submitTask");
    }
}
